package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialInspectionRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialInspectionPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialInspectionDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialInspectionDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialInspectionDomainImpl extends BaseDomainImpl<ContractInitialInspectionDto, ContractInitialInspectionPo> implements ContractInitialInspectionDomain {

    @Resource
    private ContractInitialInspectionRepository contractInitialInspectionRepository;

    @Override
    public BaseRepository<ContractInitialInspectionPo> getMapper() {
        return contractInitialInspectionRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialInspectionPo>> getRepositoryClass() {
        return ContractInitialInspectionRepository.class;
    }

}
